package cn.itcast.nems.studentrecord.service.settlement;

import cn.itcast.nems.studentrecord.constant.ReferenceTypeEnum;

/**
 * 结课结算
 *
 * @author liyong
 * create: 2024-01-01 11:30:21
 **/
public class SettlementCalculatorFinal extends DefaultSettlementCalculator {

    public SettlementCalculatorFinal(SettlementResult originSettlementResult) {
        super(originSettlementResult, ReferenceTypeEnum.FINAL);
    }

    public SettlementCalculatorFinal() {
        super(null, ReferenceTypeEnum.FINAL);
    }

    int doCalSettlementAmount(SettlementData settlementData, int serviceDays, int settlementDays) {
        return settlementData.getActualAmountDue();
    }
}
